package so.sao.code.service.infrastructure.enums;

import so.sao.top.core.util.enums.NamedEnumEntity;

/**
 * Created by Administrator on 2017/10/19.
 */
public enum OPERATION implements NamedEnumEntity<Integer> {
    ACTIVAE(1, "激活标签"), CREATEBATCH(2, "创建批次"), CONFIG(3, "设置格式"), UNACTIVAE(4, "撤销激活标签"), ADDURL(5, "添加url"), DELURL(6, "删除Url"), SEGMENT(6, "分段"), BIND(7, "绑定");
    private Integer value;

    private String name;

    OPERATION(Integer value, String name) {
        this.name = name;
        this.value = value;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
